package lei;
public class staff {
    private int staffNo;
    private char name;
    private char sex;
    private data birthday;
    private char department;
    private int time;
    public staff( int staffNo,char name,char sex,data birthday,char department,int time){
    	this.setStaffNo(staffNo);
    	this.setName(name);
    	this.setSex(sex);
    	this.setBirthday(birthday);
    	this.setDepartment(department);
    	this.setTime(time);
    }
    public staff(int i, String string, String string2, int j) {
		// TODO Auto-generated constructor stub
	}
	public String toString(){
		return "职工号："+staffNo+" 姓名："+name+" 性别："+sex+" 生日："+birthday+" 工作部门："+department+" 参加工作时间："+time;
	}
	private void setTime(int time2) {
        time=time2;
	}
	private void setDepartment(char department2) {
		department=department2;
	}
	void setBirthday(data b1) {
		birthday=b1;
	}
	private void setSex(char sex2) {
		sex=sex2;
	}
	private void setName(char name2) {
		name=name2;
	}
	private void setStaffNo(int staffNo2) {
		staffNo=staffNo2;
	}
	private int getTime() {
        return time;
	}
	char getName() {
		return name;
	}
	private int getStaffNo() {
		return staffNo;
	}
	private char getDepartment() {
		return department;
	}
	private data getBirthday() {
		return birthday;
	}
	private char getSex() {
		return sex;
	}
	public void setDepartment(lei.department dep1) {
		// TODO Auto-generated method stub
		
	}
}
